dataSource {
	pooled = true

	driverClassName = "com.mysql.jdbc.Driver"
	username = usrname // to change
	password = pwd
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
}
// environment specific settings
environments {
	development {
		dataSource {
			dbCreate = "update" // one of 'create', 'create-drop','update'
			url = "jdbc:mysql://2009-2.pumi.ida.liu.se:3306/megasoft_dev_DB"
                        username = "megauser" // to change
                        password = "qwerty"
		}
	}
	test {
		dataSource {
			dbCreate = "update"
			url = "jdbc:mysql://2009-2.pumi.ida.liu.se:3306/megasoft_test_DB"
                        username = "megauser" // to change
                        password = "qwerty"
		}
	}
	production {
		dataSource {
                        dbCreate = "update"
			url = "jdbc:mysql://2009-2.pumi.ida.liu.se:3306/megasoft_prod_DB"
                        username = "megauser" // to change
                        password = "qwerty"
		}
	}
}
/*

dataSource {
	pooled = true
	driverClassName = "com.mysql.jdbc.Driver"
	username = "root" // to change
	password = "root"
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
}
// environment specific settings
environments {
	development {
		dataSource {
			dbCreate = "update" // one of 'create', 'create-drop','update'
			url = "jdbc:mysql://localhost/abdri234"
		}
	}
	test {
		dataSource {
			dbCreate = "update"
			url = "jdbc:mysql://localhost/racetrack_dev"
		}
	}
	production {
		dataSource {
			dbCreate = "update"
			url = "jdbc:mysql://localhost/racetrack_dev;shutdown=true"
		}
	}

}*/
